We don't want to update the window size on configure event, only
the position, as the size is client side controlled. We were
updating to an old size during resizes which causes us to send
surfaces of the wrong size to the daemon.
window->width,
window->height);
+ g_assert (window->width == cairo_image_surface_get_width (window->last_surface));
+ g_assert (window->width == cairo_image_surface_get_width (surface));
+ g_assert (window->height == cairo_image_surface_get_height (window->last_surface));
+ g_assert (window->height == cairo_image_surface_get_height (surface));
+
if (server->output != NULL)
{
if (window->last_synced)
{
window->x = message->configure_notify.x;
window->y = message->configure_notify.y;
- window->width = message->configure_notify.width;
- window->height = message->configure_notify.height;
- _gdk_window_update_size (window);
- _gdk_broadway_window_resize_surface (window);
event = gdk_event_new (GDK_CONFIGURE);
event->configure.window = g_object_ref (window);